<#import "/ftl/mainAdmin.ftl" as page>

<@page.mainTemplate styleSheet="customerNeedCss" jsFile="customerNeedJs" current="客户需求">
  	<div class="page-content">
        <!-- BEGIN PAGE HEAD-->
        <div class="page-head">
            <!-- BEGIN PAGE TITLE -->
            <div class="page-title">
                <h1>客户需求
                    <small>管理客户需求页面</small>
                </h1>
            </div>
            <!-- END PAGE TITLE -->
        </div>
        <!-- END PAGE HEAD-->
        <!-- BEGIN PAGE BREADCRUMB -->
        <ul class="page-breadcrumb breadcrumb">
            <li>
                <a href="${context}/base/index_ftl">首页</a>
                <i class="fa fa-circle"></i>
            </li>
            <li>
                <span class="active">客户需求</span>
            </li>
        </ul>
        <!-- END PAGE BREADCRUMB -->
        <!-- BEGIN PAGE BASE CONTENT -->
        <div class="row">
            <div class="col-md-12 col-sm-12 search-form">
                <form id="searchForm" action="" method="post">
                    <div class="search-item input-group col-md-4 col-sm-4">
                        <span class="input-group-addon">联系人</span>
                        <input name="connection" class="form-control col-md-4" placeholder="联系人"></input>
                    </div>
                    <div class="search-item input-group col-md-4 col-sm-4">
                        <span class="input-group-addon">提交开始日期</span>
                        <div>
                            <div class="input-group date date-picker" data-date-format="dd-mm-yyyy" >
                                <input type="text" class="form-control" readonly="" name="createStartTime">
                                <span class="input-group-btn">
                                    <button class="btn default" type="button">
                                        <i class="fa fa-calendar"></i>
                                    </button>
                                </span>
                            </div>
                        </div>
                    </div>
                    <div class="search-item input-group col-md-4 col-sm-4">
                        <span class="input-group-addon">提交结束日期</span>
                        <div>
                            <div class="input-group date date-picker" data-date-format="dd-mm-yyyy">
                                <input type="text" class="form-control" readonly="" name="createEndTime">
                                <span class="input-group-btn">
                                    <button class="btn default" type="button">
                                        <i class="fa fa-calendar"></i>
                                    </button>
                                </span>
                            </div>
                        </div>
                    </div>
                    <div class="search-item input-group col-md-4 col-sm-4">
                        <span class="input-group-addon">需求性质</span>
                        <select name="type" class="form-control input-inline">
                            <option value="">请选择</option>
                            <option value="VEHICLE">车险</option>
                            <option value="ACCIDENT">意外险</option>
                            <option value="MEDICAL">医疗</option>
                            <option value="OTHER">其它</option>
                        </select>
                    </div>
                    <div class="search-item input-group col-md-4 col-sm-4">
                        <span class="input-group-addon">处理开始日期</span>
                        <div>
                            <div class="input-group date date-picker" data-date-format="dd-mm-yyyy" >
                                <input type="text" class="form-control" readonly="" name="updateStartTime">
                                <span class="input-group-btn">
                                    <button class="btn default" type="button">
                                        <i class="fa fa-calendar"></i>
                                    </button>
                                </span>
                            </div>
                        </div>
                    </div>
                    <div class="search-item input-group col-md-4 col-sm-4">
                        <span class="input-group-addon">处理结束日期</span>
                        <div>
                            <div class="input-group date date-picker" data-date-format="dd-mm-yyyy">
                                <input type="text" class="form-control" readonly="" name="updateEndTime">
                                <span class="input-group-btn">
                                    <button class="btn default" type="button">
                                        <i class="fa fa-calendar"></i>
                                    </button>
                                </span>
                            </div>
                        </div>
                    </div>
                    <div class="search-item input-group col-md-4 col-sm-4">
                        <span class="input-group-addon">状&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;态</span>
                        <select name="status" class="form-control input-inline">
                            <option value="">请选择</option>
                            <option value="COMMIT">提交</option>
                            <option value="PROCESSED">已处理</option>
                        </select>
                    </div>
                    <div class="search-item input-group col-md-4 col-sm-4">
                        <span class="input-group-addon">所属公司</span>
                        <select class="form-control input-inline" name="companyId" >
                        </select>
                    </div>
                    <div class="search-item input-group col-md-4 col-sm-4">
                    	<a id="btnSearch" href="javascript:;" class="btn btn-success">查询</a>
                        <a type="reset" id="btnClearForm" href="javascript:;" class="btn btn-default">清空</a>
                    </div>
                </form>
            </div>
        </div> 
        <div class="row">
            <div class="col-md-12">
                <!-- BEGIN EXAMPLE TABLE PORTLET-->
                <div class="portlet light bordered">
                    <div class="portlet-body">
                    	<div class="caption">
	                        <div id="tips" class="tips"></div>
	                    </div>
                        <table class="table table-striped table-bordered table-hover table-checkable order-column" id="customerNeedBody">
                            <thead>
                                <tr>
                                    <th> 需求名称 </th>
                                    <th> 需求内容 </th>
                                    <th> 需求性质 </th>
                                    <th> 联系人</th>
                                    <th> 联系电话 </th>
                                    <th> 所属公司 </th>
                                    <th> 需求来源 </th>
                                    <th> 提交日期 </th>
                                    <th> 状态 </th>
                                    <th> 处理日期 </th>
                                    <th class="col-edit"> 操作  </th>
                                </tr>
                            </thead>
                            <tbody>
                                 
                            </tbody>
                        </table>
                    </div>
                </div>
                <!-- END EXAMPLE TABLE PORTLET-->
            </div>
        </div>
        <!-- END PAGE BASE CONTENT -->
    </div>
</@page.mainTemplate>